package com.shelpe.services.sinbad.repository.jpa;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;
import com.shelpe.services.sinbad.entity.jpa.Message;

public interface MessageRepository extends PagingAndSortingRepository<Message, Long> {

	List<Message> findByUserIDAndContainerIDAndUnread(long userID, long containerID,int unread);
}
